package com.seeyon.apps.demo.manager;

import java.util.List;
import java.util.Map;

import com.seeyon.ctp.common.exceptions.BusinessException;
import com.seeyon.ctp.util.FlipInfo;
import com.seeyon.ctp.util.annotation.AjaxAccess;


public interface DemoManager {
	/**
	 * 保存
	 * @param params
	 * @throws BusinessException
	 */
	@AjaxAccess
	public void saveDemo(Map<String,Object> params) throws BusinessException;
	
    /***
     * 获取Demo列表分页数据
     * @param flipInfo
     * @param params
     * @return
     * @throws BusinessException
     */
    @AjaxAccess
    public FlipInfo findDemoList(FlipInfo flipInfo,Map<String,Object> params) throws BusinessException;
    
    /**
     * 删除
     * @param ids
     * @throws BusinessException
     */
    @AjaxAccess
    public void deleteDemo(List<String> ids) throws BusinessException;
}
